package com.coder.shop.rpc.api;

import java.math.BigDecimal;
import java.util.List;

import com.coder.common.base.BaseService;
import com.coder.shop.dao.model.ShopGoodsSku;
import com.coder.shop.dao.model.ShopGoodsSkuExample;

/**
 * ShopGoodsSkuService接口
 * @Author liuzhimin
 * @Date Created by liuzhimin on 2018/4/24.
 * @Description
 */
public interface ShopGoodsSkuService extends BaseService<ShopGoodsSku, ShopGoodsSkuExample> {

	public List<ShopGoodsSku> categoryGoods(Integer typeId,String[] specs,BigDecimal startPrice,BigDecimal endPrice,Integer startPage,Integer pageSize,String orderColum,String sort);
	
	/**
	 * 查询总数量
	 * @param typeId
	 * @param specs
	 * @param startPrice
	 * @param endPrice
	 * @return
	 */
	public Integer categoryGoodsCount(Integer typeId,String[] specs,BigDecimal startPrice,BigDecimal endPrice);
	
}